﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BestLifePOS_Core.Data.Commands;
using BestLifePOS_Core.DomainObjects;
using BestLifePOS_Core.Data.Fascade;
using System.Data;

namespace BestLifePOS_Core.Data.Facades
{
   public class DisposalDAO
    {
            
       public static int SaveDispo(Disposal PDispo)
       {
           BestLifeInsertDisposalDataAction LvDis = new BestLifeInsertDisposalDataAction(PDispo);
           return LvDis.execute(); 
       }

       public static DataTable GetDispoBySubId(string PSubId)
       {
           BestlifeGetDispoBySubId LvGetS = new BestlifeGetDispoBySubId(PSubId);
           return LvGetS.execute();
       }
    }
}
